package entity;

public class Employee {
    private String name;
    private String age;
    private String position;

    public int show() {
        System.out.println("大家好，我是"+this.position+"岗位的"+this.name+"，今年"+this.age+"岁");
        return 1;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }
}
